setEndPoint(PDFPoint) Method
In This Topic
Sets the line's end point.
Because the end point uses page display coordinates, the annotation must be added to the page before setting the end point.
Syntax
Parameters
- point
- A com.o2sol.pdf4java.graphics.PDFPoint object that specifies the end point of the line annotation in display coordinates.
Exceptions
| Exception | Description |
| java.lang.NullPointerException | Thrown when point parameter is null. |
| java.lang.IllegalStateException | Thrown when the annotation does not belong to a page. |
See Also